# tasks/urls.py
from django.urls import path, re_path
from . import views

app_name = 'login'

urlpatterns = [
    # Create a task
    path('signUp', views.create_user, name='create_user'),
    path('signUp/sendVerificationCode', views.verification_code, name='verification_code'),
    path('login', views.user_login, name='user_login'),
    # path("modify", views.modify_user, name='user_modify'),
    path("changePersonalInfo", views.modify_user, name='change_password'),
    path("signUp/session_key", views.get_session_key, name='getSession'),
    path("personal", views.check_user, name='personal'),
    path( "collect/delete", views.delete_personal, name="delete_personal"),
    path( "collect/save", views.save_personal, name="save_personal"),
    path( "collect/data", views.collect, name="collect_data")
    # path("favorites", views.FavoriteAPIView.as_view(), name='flight_favorite')
]
